package top.littlejiang.onlinexam.service;

import top.littlejiang.onlinexam.entity.OlexamExam;
import top.littlejiang.onlinexam.vo.ExamAddVO;

import java.util.List;

/**
 * @author chen
 * @Description
 * @since 2021/3/31 20:12
 */
public interface OlexamTransService {

    /**
     * 新增考试数据
     *
     * @param examAddVO
     * @throws InstantiationException
     * @throws IllegalAccessException
     */
    void addExam(ExamAddVO examAddVO) throws InstantiationException, IllegalAccessException;

    /**
     * 删除考试及对应工作表
     * @param uuids
     */
    void deleteExam(List<String> uuids);

    /**
     * 更新考试
     * @param exam
     */
    void updateExam(OlexamExam exam);
}
